<template>
	<view class="container">
		<view class="signCont">
			<view class="signItem ptb-20" v-for="item in signList">
				<view class="flex ItemTop">
					<view class="">
						<view class="" v-if="item.type==1">正常签到</view>
						<view class="" v-if="item.type==2">连续签到</view>
						<view class="" v-if="item.type==3">补签</view>
					</view>
					<view class="">+{{item.reward}}</view>
				</view>
				<view class="flex mt-10">
					<view class="">签到时间</view>
					<view class="">{{item.create_time}}</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				signList:''
			}
		},
		onLoad() {
			// 签到日志
			this.$http('api/user_signin/singinList').then(res => {
				this.signList=res.list
				console.log(res.list)
			});
		},
		methods: {
			
		}
	}
</script>

<style scoped lang="less">
.container{
	width: 100%;
	.signCont{
		padding: 0 20rpx;
		box-sizing: border-box;
		.signItem{
			border-bottom: 1rpx solid #eee;
			.ItemTop{
				font-weight: bold;
				font-size: 32rpx;
			}
		}
	}
}
</style>
